﻿using System.Collections.Generic;
using IDAL;
using Model;
using System;

namespace BLL
{
    public class TestItem_PP
    {
        private static readonly ITestItem_PP dal = DALFactory.DataAccess.CreateTestItem_PP();

        //
        public IList<ProductType_QInfo> GetDayPID_PP(string productTypeID, string dayTime)
        {
            return dal.GetDayPID_PP(productTypeID,dayTime);
        }

        public IList<ProductType_QInfo> GetMonthPID_PP(string productTypeID, string monthTime)
        {
            return dal.GetMonthPID_PP(productTypeID, monthTime);
        }

        public IList<ProductType_QInfo> GetDayPID_EI(string productTypeID, string dayTime)
        {
            return dal.GetDayPID_EI(productTypeID, dayTime);
        }

        public IList<ProductType_QInfo> GetMonthPID_EI(string productTypeID, string monthTime)
        {
            return dal.GetMonthPID_EI(productTypeID, monthTime);
        }

        public IList<ProductType_QInfo> GetDay_EI(string dayTime)
        {
            return dal.GetDay_EI(dayTime);
        }

        public IList<ProductType_QInfo> GetMonth_EI(string monthTime)
        {
            return dal.GetMonth_EI(monthTime);
        }

        public IList<ProductType_QInfo> GetDTPID_PP(string pID, DateTime dt1, DateTime dt2)
        {
            return dal.GetDTPID_PP(pID, dt1, dt2);
        }
    }
}
